#ifndef __JY901_H
#define __JY901_H	 

#define G_acc		9.8

#define Start_Sign	0x55
#define Start_Acc		0x51
#define Get_Angle		0x53

void JY901_Get_Angle(void);
void JY901_Get_Acc(void);


extern double wx;
extern double wy;
extern double wz;
extern double last_x;
extern double last_y;

extern double ax;
extern double ay;
extern double az;

extern double vx;
extern double vy;

extern double px;
extern double py;
extern float temper;
#endif
